const daoCommon=require('../util/daoCommon');

const dao={
    queryAdminByToken:(data)=>{
        let sql=`select username from admin where token=$token`;
        return daoCommon.selectCommon(sql,data);
    }
};
module.exports=dao;